from training.data_source_bs import ReadDataSource
from training.vector_op_bo import SaveToVector

CLASSES = {
    "MyIRIS.ReadDataSource": ReadDataSource,
    "MyIRIS.VectorOp": SaveToVector
}

PRODUCTIONS = [
        {
            'IRISAPPPKG.FoundationProduction': {
                "@TestingEnabled": "true",
                "Item": [
                    {
                        "@Name": "ReadDataSourceService",
                        "@ClassName": "MyIRIS.ReadDataSource",
                        "@PoolSize": "1",
                        "@Enabled": "false",
                        "Setting": [
                    {
                        "@Target": "Host",
                        "@Name": "%settings",
                        "#text": "limit=10\nother<10"
                    }
                        ]
                    },
                    {
                        "@Name": "SaveVectorOp",
                        "@ClassName": "MyIRIS.VectorOp",
                        "@PoolSize": "1",
                        "@Enabled": "true",
                        },
                    #  {
                    #     "@Name": "LLMOpsClient",
                    #     "@ClassName": "Client.RestClientBo",
                    #     "@PoolSize": "1",
                    #     "@Enabled": "true",
                    # }
                                    
                ]
            }
        }
    ]